﻿@model Post

<div class="post">
	<div>@Html.RouteLink( Model.Title, "ViewPost", new { slug = Model.Slug })</div>
	<div class="postSummary">@Model.GetSummary()</div>
	<div class="meta">		
		<span class='famfam active famfam-calendar'></span>@Strings.Post_Published @Html.DisplayFor( x => Model.PublishDate )
        <span class='famfam active famfam-user'></span>@Strings.Post_Author @Html.ActionLink(Model.Author.FullName, "Profile", "Account", new { id = Model.Author.UserId }, null  ) |  
		<span class='famfam active famfam-chart_organisation'></span>@Strings.Categories: 
        @{ foreach (var category in Model.Categories) {  
         @Html.RouteLink(category.Name, "ViewCategory", new { name = category.Name })
         } } | 
		<span class='famfam active famfam-tag_blue'></span> @Strings.Tags: 
		@{ foreach (var tag in Model.Tags) {  
			@Html.RouteLink(tag.Name, "ViewTag", new { name = tag.Name })
		 } }
	</div>			
</div>
